package com.example.carinterface.service.dl.admin;

import com.example.carinterface.utils.ResultJson;

import java.util.List;
import java.util.Map;

public interface CouponService {
    ResultJson<List<Map<String, Object>>> find(Map<String,Object> map);

    ResultJson<String> add(Map<String, Object> map);

    ResultJson<List<Map<String, Object>>> findExchangeCode();

    ResultJson<String> updateCoupon(Map<String, Object> map);

    ResultJson<String> addExchangeCode(Map<String, Object> map);

    ResultJson<String> updateExchangeCode(Map<String, Object> map);

    ResultJson<String> delExchangeCode(Integer id);

    ResultJson<String> testTel(String tel);

    ResultJson<String> updateState(Map<String, Object> map);

    ResultJson<String> delCoupon(Integer id);
}
